home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 June / ccd0605.iso / Software / Shareware / Programare / winhex / FAT Directory Entry.txt < prev    next >
Text File  |  2005-05-02  |  878b  |  36 lines

  1. template "FAT Directory Entry"
  2.  
  3. // Template by Stefan Fleischmann
  4.  
  5. // To be applied to a sector of a FAT16 or FAT32 drive
  6. // that contains a directory. Not suitable for LFN
  7. // (long filename) directory entries.
  8.  
  9. description "Normal/short entry format"
  10. applies_to disk
  11. multiple
  12.  
  13. begin
  14.     char[8]    "Filename (blank-padded)"
  15.     char[3]    "Extension (blank-padded)"
  16.     hex 1        "0F = LFN entry"
  17.     move        -1
  18.     binary    "Attributes ( - -a-dir-vol-s-h-r)"
  19.     goto        0
  20.     hex 1        "00 = Never used, E5 = Erased"
  21.     move        11
  22.     read-only byte "(reserved)"
  23.     move        1
  24.     DOSDateTime    "Creation date & time"
  25.     move        -5
  26.     byte        "Cr. time refinement in 10-ms units"
  27.     move        2
  28.     DOSDateTime    "Access date (no time!)"
  29.     move        2
  30.     DOSDateTime    "Update date & time"
  31.     move        -6
  32.     uint16    "(FAT 32) High word of cluster #"
  33.     move        4
  34.     uint16    "16-bit cluster #"
  35.     uint32    "File size (zero for a directory)"
  36. end